package grape.house.rest.estatenearbyfeature.mapper;

import grape.house.rest.estatenearbyfeature.form.EstateNearbyFeatureListForm;
import grape.house.service.estatenearbyfeature.po.EstateNearbyFeature;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.house.rest.estatenearbyfeature.form.EstateNearbyFeatureCreateForm;
import grape.house.rest.estatenearbyfeature.form.EstateNearbyFeatureUpdateForm;
import grape.house.rest.estatenearbyfeature.form.EstateNearbyFeatureListPageForm;
import grape.house.rest.estatenearbyfeature.vo.EstateNearbyFeatureVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * 楼盘周边特色表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-09-22
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface EstateNearbyFeatureWebMapper extends WebMapper<EstateNearbyFeatureVo, EstateNearbyFeature> {

    EstateNearbyFeature formToPo(EstateNearbyFeatureCreateForm f);
    EstateNearbyFeature formToPo(EstateNearbyFeatureUpdateForm f);
    EstateNearbyFeature formToPo(EstateNearbyFeatureListPageForm f);
    EstateNearbyFeature formToPo(EstateNearbyFeatureListForm f);
}
